package com.tpl.core.basedata.dao;

import java.util.List;

import com.tpl.core.common.annotation.DaoAnnotation;
import com.tpl.core.entity.sys.DictMenu;
import org.apache.ibatis.annotations.Param;



@DaoAnnotation
public interface DictMenuDao {

	List<DictMenu> getDictMenuList(@Param("key")String key, @Param("name")String name, @Param("pageIndex")int pageIndex, @Param("pageSize")int pageSize);
	
	int getDictMenuCount();
	
	DictMenu getDictMenuById(Long dmId);
	
	void insertDictMenu(DictMenu dictMenu);
	
	void updateDictMenu(DictMenu dictMenu);
	
	void deleteDictMenu(@Param("dmId")Long dmId);
	
	int getDictMenuSelectCount(@Param("key")String key,@Param("name")String name);//应对 数据字典分页，有条件查询
	
}
